<template>
	<view style="padding-top: 10rpx;">
		<view class="list ">
			<view class="list_item flex-cb bg-white" v-for="(item,index) in list" :key="index" @click="navgeta(item.url)">
				<view class="text">{{item.text}}</view>
				<text class="cuIcon-right"></text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						text:'我的团队',
						url:'team'
					},
					{
						text:'收益记录',
						url:'profit'
					}
				]
			};
		},
		methods:{
			navgeta(url){
				uni.navigateTo({
					url:'./' + url
				})
			}
			
		}
	}
</script>

<style lang="scss">
.list{
	.list_item{
		height: 100rpx;
		margin-bottom: 2rpx;
		padding-left: 28rpx;
		padding-right: 30rpx;
		.text{
			font-size: 30rpx;
			font-weight: bold;
			color: #333;
		}
	}
}
</style>
